package com.itheima.d2_reflect_framework;

public class Teacher {

    private  String sex;
    private  String name;
    private  double salary;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public Teacher(String sex, String name, double salary) {
        this.sex = sex;
        this.name = name;
        this.salary = salary;
    }

    public Teacher() {
    }
}
